import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Print from './plugins/print'
import BASE from "@/http/BaseUrl"
Vue.prototype.UPLOADURL = BASE.UPLOADURL
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
window._AMapSecurityConfig = {
  securityJsCode: 'febe4100c2bdbeabfc0890bc8a3ecae2',
}
// 将自动注册所有组件为全局组件
import dataV from '@jiaminghi/data-view'
// 挂载在Vue上
Vue.use(dataV)
import { borderBox1 } from '@jiaminghi/data-view'
Vue.use(borderBox1)
Vue.use(Print) // 注册
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
